/*
 * =====================================================================================
 *
 *       Filename:  Project.h
 *
 *    Description:
 *
 *        Version:  1.0
 *        Created:  01/06/2022 12:18:27 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  first_name last_name (fl), fl@my-company.com
 *        Company:  my-company
 *
 * =====================================================================================
 */

#pragma once
#include "IProject.h"
#include "IProjectIterator.h"
#include <iostream>
#include <vector>
using std::string;
using std::vector;
class CProject: public IProject {
  public:
    CProject(void);
    CProject(string name, int num, int cost);
    ~CProject(void);
    string GetProjectInfo();
    void Add(string name, int num, int cost);
    IProjectIterator* GetIterator();
    void Erase();
  private:
    string m_name;
    int m_num;
    int m_cost;
    vector < IProject* >m_projectList;
};
